package day6zy;

public class Day6zy4 {
    String wg;
    int jg;
    int yh;
    public void qd(){
        System.out.println("正在启动");
    }
    public void tz(){
        System.out.println("汽车停止");
    }
    public void md(){
        System.out.println("汽车鸣笛");
    }
}

class qc extends Day6zy4{
    public static void main(String[] args) {
        qc q = new qc();
        q.wg = "黑大";
        q.jg = 21000000;
        q.yh = 200;
        System.out.println("外观："+q.wg);
        System.out.println("价格："+q.jg);
        System.out.println("油耗："+q.yh);
        q.tz();
        q.qd();
        q.md();
    }
}
